package com.cap.bts.crmdp.dealer.coupon.dao;

import java.util.List;

import com.cap.bts.crmdp.dealer.coupon.domain.CouponBatchLine;
import com.cap.bts.framework.common.dao.IBaseDao;
import com.cap.bts.framework.common.exception.AppException;

public interface ICouponBatchLineDao extends IBaseDao<CouponBatchLine, Long> {
    
    /**
     * 按活动批次取得优惠券生成列表
     * @Date        :      Sep 10, 2015
     * @return
     * @throws AppException
     */
    public List<CouponBatchLine> getCouponBatchLineListByBatchId(Long batchId) throws AppException;
    
    /**
     * 生成优惠券
     * @Date        :      Sep 10, 2015
     * @return
     * @throws AppException
     */
    public Boolean generateCoupon(String generateInfo) throws AppException;
    
}
